package com.hs.srm.admin.modules.material.vo;

import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import com.hs.srm.admin.modules.material.entity.MaterialEntity;
import com.hs.srm.admin.modules.material.entity.MaterialFactoryEntity;
import com.hs.srm.base.common.base.CloneableEntity;

/**
 * 简化的供应商信息
 * @author 闫飞
 *
 * @date 2019年2月24日
 */
@Getter
@Setter
@ToString
public class MaterialVO implements Serializable, CloneableEntity<MaterialVO> {

	private static final long serialVersionUID = -3000571191963686401L;
	
	 private MaterialEntity materialEntity;
	 private MaterialFactoryEntity materialFactoryEntity;
	
	 @Override
		public MaterialVO clone(){
			try {
				return (MaterialVO)super.clone();
			} catch(CloneNotSupportedException ex) {
				// TODO Auto-generated catch block
				ex.printStackTrace();
			}
			return null;
		}
}
